#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int mystrlen(char* arr)
{
	char* start = arr;
	char* end = arr;
	while (*end != '\0')
	{
		end++;
	}
	return end - start;
}
int main()
{
	char arr[] = { 0 };
	scanf("%s", arr);
	int ret = mystrlen(arr);
	printf("%d", ret);
	return 0;
}